.bottomNav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  border-top: 1px solid #eee;
  /* 移动端安全区域适配 */
  padding-bottom: env(safe-area-inset-bottom);
}

.tab {
  --adm-color-primary: #007bff;
  --adm-font-size-main: 12px;
}

/* 自定义TabBar样式 */
.tab :global(.adm-tab-bar-item) {
  padding: 8px 0;
  /* 移动端触摸优化 */
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s ease;
}

.tab :global(.adm-tab-bar-item-active) {
  color: #007bff;
}

.tab :global(.adm-tab-bar-item-icon) {
  font-size: 20px;
  margin-bottom: 4px;
  transition: transform 0.2s ease;
}

.tab :global(.adm-tab-bar-item-active .adm-tab-bar-item-icon) {
  transform: scale(1.1);
}

.tab :global(.adm-tab-bar-item-title) {
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tab :global(.adm-tab-bar-item-active .adm-tab-bar-item-title) {
  font-weight: 600;
}

/* 移动端响应式样式 */
@media (max-width: 480px) {
  .tab :global(.adm-tab-bar-item) {
    padding: 6px 0;
    min-height: 48px;
  }
  
  .tab :global(.adm-tab-bar-item-icon) {
    font-size: 18px;
  }
  
  .tab :global(.adm-tab-bar-item-title) {
    font-size: 11px;
  }
}

@media (max-width: 375px) {
  .tab :global(.adm-tab-bar-item) {
    padding: 4px 0;
    min-height: 44px;
  }
  
  .tab :global(.adm-tab-bar-item-icon) {
    font-size: 16px;
  }
  
  .tab :global(.adm-tab-bar-item-title) {
    font-size: 10px;
  }
}

@media (max-width: 320px) {
  .tab :global(.adm-tab-bar-item) {
    padding: 2px 0;
    min-height: 40px;
  }
  
  .tab :global(.adm-tab-bar-item-icon) {
    font-size: 14px;
  }
  
  .tab :global(.adm-tab-bar-item-title) {
    font-size: 9px;
  }
}
